package com.hq.door.service;

import java.util.Date;
import java.util.List;

import com.hq.door.dto.OutrequestInfo;
import com.hq.door.dto.StudentInfo;
import com.hq.door.dto.TRecordInfo;
import com.hq.door.pojo.TStudent;
import com.hq.door.pojo.TTeacher;

public interface IStudentFrontService extends IBaseService<TStudent> {
	public TStudent login(String code, String password);

	public StudentInfo getCurStu(TStudent tStudent);

	public List<TRecordInfo> getCardRecords(TStudent tStudent, Date sDate,
			Date eDate,int pageSize,int pageStart, int type);

	public int getCount(TStudent tStudent, Date sDate, Date eDate, int type);

	public List<OutrequestInfo> getOutRequest(TStudent tStudent,
			Integer pageSize, Integer pageStart);

	public int getRequestCount(TStudent tStudent);

	public int addOutRequest(TStudent tStudent, OutrequestInfo outrequestInfo);

	public TStudent weChatLogin(String wexinId);

	public TStudent modifyStudent(String name, String password, String weixinId);

}
